import request from '@/utils/request'

// 印章使用分页
export function getList(params) {
  return request({
    url: '/management/administrative/sealUse/selectPage',
    method: 'POST',
    params
  })
}

// 印章使用添加
export function insertUse(data) {
  return request({
    url: '/management/administrative/sealUse/insert',
    method: 'POST',
    data
  })
}

// 印章使用修改
export function updateUse(data) {
  return request({
    url: '/management/administrative/sealUse/update',
    method: 'post',
    data
  })
}

// 印章使用删除
export function delUse(data) {
  return request({
    url: '/management/administrative/sealUse/del',
    method: 'post',
    data
  })
}

// 单条数据查询
export function selectUse(params) {
  return request({
    url: '/management/administrative/sealUse/findId',
    method: 'POST',
    params
  })
}

// 查所有人
export function selectOperator(params) {
  return request({
    url: '/employee/personnelInfoOther',
    method: 'post',
    params
  })
}

// 查询项目名称
export function selectProjectName(params) {
  return request({
    url: '/projectInvocie/ProjectName',
    method: 'POST',
    params
  })
}

// 查询项目名称
export function batchInsertInfo(data) {
  return request({
    url: '/management/batchInsertInfo',
    method: 'POST',
    data
  })
}
